<?php

class ConnectionFactory 
{
	private static $factory;
	
	public static function getFactory() 
	{
		if (!self::$factory)
			self::$factory = new ConnectionFactory();
		return self::$factory;	
	}
	
	private $db;
	
	public function getConnection()
	{
		if ($db) {
			
		}
		return 
	}
}

?>